import mixin from '@/mixins/mixin.js'
import MescrollMixin from "@/components/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
import { toast, patchZero, delay, copy, currentPage, checkProp, previewImage } from '@/utils/tool.js'
import request from '@/utils/request.js'

export default {
	install(Vue) {
		Vue.mixin(mixin)
		Vue.mixin(MescrollMixin)
		Vue.prototype.$request = request
		Vue.prototype.$toast = toast
		Vue.prototype.$patchZero = patchZero
		Vue.prototype.$delay = delay
		Vue.prototype.$copy = copy
		Vue.prototype.$currentPage = currentPage
		Vue.prototype.$checkProp = checkProp
		Vue.prototype.$previewImage = previewImage
	}
}